//
//  SchoolModel.m
//  IpadR
//
//  Created by edianzu on 2017/5/25.
//  Copyright © 2017年 ruilai. All rights reserved.
//

#import "SchoolModel.h"

@implementation SchoolModel
+(instancetype)modelWithDictionary:(NSDictionary *)dict{
    return [[self alloc] initWithDictionary:dict];
}

-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self = [super init]) {
        self.GroupId = dict[@"GroupId"];
        self.KindergartenCount = dict[@"KindergartenCount"];
        self.KindergartenId = dict[@"KindergartenId"];
        self.ServiceType = dict[@"ServiceType"];
        self.Address = dict[@"Address"];
        self.City = dict[@"City"];
        self.Code = dict[@"Code"];
        self.Description = dict[@"Description"];
        self.EditDate = dict[@"EditDate"];
        self.KindergartenName = dict[@"KindergartenName"];
        self.RegionCode = dict[@"RegionCode"];
        self.RegionName = dict[@"RegionName"];
        
    }
    return self;
}
@end
